<template>
    <el-tabs v-model="activeName" class="users-tabs" @tab-click="handleClick">
        <el-tab-pane label="用户信息" name="users">
            <users></users>
        </el-tab-pane>
        <el-tab-pane label="用户权限" name="role">
            <role></role>
        </el-tab-pane>
    </el-tabs>
</template>
<script  setup>

import users from "@/components/users/users.vue"
import role from "@/components/users/rolePermission.vue"

const activeName = ref('users')

const handleClick = (tab, event) => {
    console.log(tab, event)
}
</script>

<script>
export default {
    name: 'users',
    meta: {
        name: "用户管理",
        icon: "icon-yonghu1"
    }
}
</script>